<template>
	<view class="navbar-box">
		<view class="navbar-box-two">
			<block v-for="item in navbarList" :key="item.id">
				<view class="navbar-box-two-item">
					<img class="img-icon" :src="item.icon" alt="">
					<view class="navbar-box-two-item-name">{{item.name}}</view>
				</view>
			</block>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navbarList: [{
						name: '分类',
						icon: require('@/assets/index/case-navbar.png'),
						id: 2
					},
					{
						name: '归档',
						icon: require('@/assets/index/guidang-navbar.png'),
						id: 3
					},
					{
						name: '标签',
						icon: require('@/assets/index/tag-navbar.png'),
						id: 4
					},
					{
						name: '简历',
						icon: require('@/assets/index/jianli-navbar.png'),
						id: 5
					},
				],
			}
		}
	}
</script>

<style lang="scss" scoped>
	.navbar-box {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding-left: 20rpx;
		padding-right: 20rpx;
		padding-bottom: 20rpx;
		background-color: #fff;
	
		&-two {
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-top: 26rpx;
	
			&-item {
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;
				
				.img-icon {
					width: 126rpx;
					height: 120rpx;
				}
				&-name {
					padding-top: 10rpx;
					font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
					font-weight: 700;
					color: #666;
				}
			}
	
		}
	}
</style>